package com.xinqi.modules.course.chapter.param;

import com.xinqi.modules.course.chapter.dto.rsp.ChapterContentResultDTO;
import com.xinqi.modules.course.chapter.dto.rsp.CourseChapterResultDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class ChapterResponseDTO extends CourseChapterResultDTO {

    /**
     * 主章节数量
     */
    @Schema(description = "主章节数量")
    private Integer parentChapterNum;

    /**
     * 子章节数量
     */
    @Schema(description = "子章节数量")
    private Integer sonChapterNum;

    /**
     * 章节内容
     */
    @Schema(description = "章节内容")
    private List<ChapterContentResultDTO> contentList;
}
